<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
  "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>  
  <package name="users" extends="exception" namespace="/users">      
      <result-types>
         <result-type name="tiles" class="org.apache.struts2.views.tiles.TilesResult"/>
      </result-types>
      <action name="toRegister" class="it.fc.action.FcAction">
        <result name="success" type="tiles">users.registerform</result>
      </action>  
      <action name="register" class="it.fc.action.users.RegisterAction">
        <result name="input" type="tiles">users.registerform</result>
        <result name="success" type="tiles">main</result>
      </action>       
      <action name="activate" class="it.fc.action.users.ActivateAction">
        <result name="success" type="tiles">main</result>
      </action>  
      <action name="loginUtente" class="it.fc.action.users.LoginAction">      
        <result name="input" type="tiles">users.login</result>
        <result name="success" type="tiles">mainUtente</result>
      </action>      
  </package>
</struts>